<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>注册 - 家族树</title>
    <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
    <link rel="stylesheet" href="styles.css">
    <style>
        body {
            font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
            background-color: #fff;
            color: #333;
            margin: 0;
            padding: 0;
            height: 100vh;
        }
        
        /* 状态栏样式 */
        .status-bar {
            height: 44px;
            background-color: #ffffff;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 16px;
            position: sticky;
            top: 0;
            z-index: 100;
        }
        
        .nav-bar {
            height: 44px;
            display: flex;
            align-items: center;
            padding: 0 16px;
            position: relative;
        }
        
        .back-button {
            position: absolute;
            left: 16px;
            font-size: 20px;
            color: #333;
        }
        
        .page-title {
            flex: 1;
            text-align: center;
            font-size: 18px;
            font-weight: 600;
        }
        
        .btn-primary {
            background-color: #e86c60;
            color: white;
            border-radius: 8px;
            padding: 12px 20px;
            font-weight: 500;
            border: none;
            width: 100%;
        }
        
        .social-login-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid #e5e5e5;
            border-radius: 8px;
            padding: 12px;
            margin-bottom: 16px;
            font-weight: 500;
        }
        
        .social-icon {
            margin-right: 12px;
            font-size: 20px;
        }
        
        .wechat-icon {
            color: #07C160;
        }
        
        .qq-icon {
            color: #12B7F5;
        }
        
        .input-field {
            border: 1px solid #e5e5e5;
            border-radius: 8px;
            padding: 12px 16px;
            margin-bottom: 16px;
            width: 100%;
        }
        
        .verification-code-container {
            display: flex;
            margin-bottom: 16px;
        }
        
        .verification-code-input {
            flex: 1;
            border: 1px solid #e5e5e5;
            border-radius: 8px 0 0 8px;
            padding: 12px 16px;
        }
        
        .verification-code-button {
            background-color: #f8d9d5;
            color: #e86c60;
            border: none;
            border-radius: 0 8px 8px 0;
            padding: 0 16px;
            font-weight: 500;
            white-space: nowrap;
        }
    </style>
</head>
<body>
    <!-- iOS状态栏 -->
    <div class="status-bar">
        <div class="time font-medium">9:41</div>
        <div class="icons flex">
            <i class="fas fa-signal mr-1"></i>
            <i class="fas fa-wifi mr-1"></i>
            <i class="fas fa-battery-full"></i>
        </div>
    </div>
    
    <!-- 导航栏 -->
    <div class="nav-bar">
        <a href="login.html" class="back-button">
            <i class="fas fa-chevron-left"></i>
        </a>
        <div class="page-title">注册账号</div>
    </div>
    
    <div class="p-8 flex flex-col">
        <div class="mb-6">
            <h2 class="text-2xl font-bold text-gray-800 mb-2">欢迎加入家族树</h2>
            <p class="text-gray-500">创建账号，开始记录您的家族历史</p>
        </div>
        
        <form>
            <div class="mb-4">
                <label class="block text-gray-700 text-sm font-medium mb-2">手机号码</label>
                <input type="tel" class="input-field" placeholder="请输入手机号码">
            </div>
            
            <div class="mb-4">
                <label class="block text-gray-700 text-sm font-medium mb-2">验证码</label>
                <div class="verification-code-container">
                    <input type="text" class="verification-code-input" placeholder="请输入验证码">
                    <button type="button" class="verification-code-button">获取验证码</button>
                </div>
            </div>
            
            <div class="mb-4">
                <label class="block text-gray-700 text-sm font-medium mb-2">设置密码</label>
                <input type="password" class="input-field" placeholder="请设置6-20位密码">
            </div>
            
            <div class="mb-6">
                <label class="block text-gray-700 text-sm font-medium mb-2">确认密码</label>
                <input type="password" class="input-field" placeholder="请再次输入密码">
            </div>
            
            <div class="mb-6 flex items-center">
                <input type="checkbox" id="agree" class="mr-2">
                <label for="agree" class="text-sm text-gray-600">
                    我已阅读并同意<a href="#" style="color: #e86c60;">服务条款</a>和<a href="#" style="color: #e86c60;">隐私政策</a>
                </label>
            </div>
            
            <button type="submit" class="btn-primary mb-6">注 册</button>
        </form>
        
        <div class="relative my-6">
            <div class="absolute inset-0 flex items-center">
                <div class="w-full border-t border-gray-300"></div>
            </div>
            <div class="relative flex justify-center text-sm">
                <span class="px-2 bg-white text-gray-500">其他注册方式</span>
            </div>
        </div>
        
        <div class="social-login-btn">
            <i class="fab fa-weixin social-icon wechat-icon"></i>
            <span>微信注册</span>
        </div>
        
        <div class="social-login-btn">
            <i class="fab fa-qq social-icon qq-icon"></i>
            <span>QQ注册</span>
        </div>
        
        <div class="mt-6 text-center">
            <span class="text-gray-600">已有账号？</span>
            <a href="login.html" style="color: #e86c60;" class="font-medium">立即登录</a>
        </div>
    </div>
</body>
</html> 